package com.cxso.example.domain.sign;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

@Schema(description = "pdf模板和组件生成合同-入参")
@Getter
@Setter
public class SimpleFormFieldsDomain {

    @Schema(description = "组件ID", example = "39738e3a800497c2")
    @NotBlank(message = "组件ID不能为空")
    private String contextId;

    @Schema(description = "组件值", example = "组件对应的值，如果是图片组件需传入fileId")
    @NotBlank(message = "组件值不能为空")
    private String contextValue;
}
